package com.communal.service;

import java.util.List;

import com.communal.model.Model;
import com.communal.util.AppException;
import com.communal.util.CommunalFilterBean;
import com.communal.web.form.cr.CRGeneralForm;

/**
 * Defines business logic operations for model
 * @author Created by andrey.kuznetsov <br>
 * @author Last modified by $Author$ <br>
 * @author Last modified on $Date$ at revision $Revision$ <br>
 */
public interface IModelService {
	
	/**
	 * Returns list with total information of payments <br>
	 * @param p_model - model; {@link Model} <br>
	 * @param p_filter - filter; {@link CommunalFilterBean} <br>
	 * @return list of {@link CRGeneralForm} <br>
	 * @throws AppException if exception occur
	 */
	public List<CRGeneralForm> getTotalInformation(Model p_model, CommunalFilterBean p_filter) throws AppException;
}
